<? /* license

BilugCMS (http://www.bilug.it) - Content Management System for dynamic web sites
Copyright (C) 2005-2008  Federico Villa and Alessio Loro Piana

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

For reference, contact bilugcms@vilnet.it


license */ ?>
<?
require_once("auth.php");
require_once("../utility/funzioni.php");
$id = $_GET['id'];
$argo = apici($_GET['argo']);
$dir='../gals/'.$argo.'/';
@unlink ($dir.$id."/".$id.".txt");
if (!@rmdir($dir.$id))
    {
    echo "ERRORE: ARGOMENTO NON ELIMINATO - Gallerie Presenti";
    echo "<br/><a href=\"area.php?pag=elenco_arg_gallerie.php\">Riprova</a>";
    }
else
Header("Location: ");
echo "<meta http-equiv=\"refresh\" content=\"0;url=area.php?pag=conferma.php&from=elenco_arg_gallerie.php\" />";
exit;
?>
